<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<title></title>
		<link rel="stylesheet" href="__OEM__/css/iconfont.css" />
		<link rel="stylesheet" href="__OEM__/css/css.css" /> {block name="css"}{/block}
	</head>

	<body>
		<div class="top_phone">
			<p>服务电话：137 8912 6529</p>
		</div>
		<div class="navbox clearfix">
			<div class="logo"><img src="__OEM__/img/agentlogo.png"></div>
			<div class="navright">
				<span>你好，{$Think.session.agent_name}<em>丨</em></span>
				<span><a href="#" onclick="logout('{:url('login/logout')}')">退出</a></span>
			</div>
		</div>
		<div class="index_conbox">
			<div class="index_content clearfix">
				<div class="left">
					<div class="hout_nav">
						<div class="navitem">
							<div class="bt">
								<span class="iconfont icon-yonghu"></span>
								<span>账户中心</span>
							</div>
							<ul class="navlist">
								<li {if $maction=='index' }class="active" {/if}{if $maction=='verif' }class="active" {/if}>
									<a href="{:url('index/index')}">基本信息</a>
								</li>

							</ul>
						</div>
						<div class="navitem">
							<div class="bt">
								<span class="iconfont icon-shangcheng"></span>
								<span>商家管理</span>
							</div>
							<ul class="navlist">
								<li {if $maction=='goods' }class="active" {/if}>
									<a href="{:url('shop/goods')}">商品管理</a>
								</li>
								<li {if $maction=='types' }class="active" {/if}>
									<a href="{:url('shop/types')}">商品分类</a>
								</li>
								<li {if $maction=='orders' }class="active" {/if}>
									<a href="{:url('shop/orders')}">商品订单</a>
								</li>
								<li {if $maction=='comment' }class="active" {/if}>
									<a href="{:url('shop/comment')}">商品评价</a>
								</li>
								<li {if $maction=='address' }class="active" {/if}>
									<a href="{:url('shop/address')}">配送地址</a>
								</li>
							</ul>
						</div>
						<div class="navitem">
							<div class="bt">
								<span class="iconfont icon-huiyuan"></span>
								<span>财务管理</span>
							</div>
							<ul class="navlist">
								<li {if $maction=='tixian' }class="active" {/if}>
									<a href="{:url('finace/tixian')}">提现列表</a>
								</li>
								<li {if $maction=='money' }class="active" {/if}>
									<a href="{:url('finace/money')}">余额记录</a>
								</li>
								<li {if $maction=='tongji' }class="active" {/if}>
									<a href="{:url('finace/tongji')}">交易统计</a>
								</li>
							</ul>
						</div>

					</div>
				</div>
				{block name="body"}{/block}
			</div>
		</div>
		<div class="index_bottom">
			<p>Copyright© 2018 懒狗.All Rights Reserved</p>
			<p>湖南懒狗网络科技有限公司 版权所有 湘ICP备18012526号</p>
		</div>
		<script src="__PUBLIC__/static/js/jquery.min.js"></script>
		<script src="__PUBLIC__/static/layui/layui.all.js"></script>
		{block name="script"}{/block}
		<script>
			function logout() {
				layer.confirm('您确定要退出吗？', {
					btn: ['确定', '取消']
				}, function() {
					$.ajax({
						url: "{:url('login/logout')}",
						data: {},
						success: function(data) {
							if(data.code == 200) {
								layer.msg(data.msg, {
									icon: 1,
									time: 1500
								}, function() {
									location.href = "{:url('login/login')}";
								});
							}
						}
					})
				})
			}
		</script>
	</body>

</html>